import request from '@/utils/request'

export function orderList(params) {
  return request({
    url: '/order/order/find',
    method: 'post',
    params
  })
}

export function getOrder(id) {
  return request({
    url: '/order/order/getById/' + id,
    method: 'GET'
  })
}

export function deleteOrder(ids) {
  return request({
    url: '/order/order/delete',
    method: 'post',
    data: ids
  })
}
